package com.EstateManager.Entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * AbstractLeaseorsaleinfo entity provides the base persistence definition of
 * the Leaseorsaleinfo entity. @author MyEclipse Persistence Tools
 */
@JsonIgnoreProperties(value = {"estatescheduals"})
public abstract class AbstractLeaseorsaleinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Estatebasicinfo estatebasicinfo;
	private Integer maxScheduleAmount;
	private Float minPrice;
	private String unit;
	private String publicDescribe;
	private String statue;
	private Date publishTime;
	@JSONField(serialize = false)
	private Set estatescheduals = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractLeaseorsaleinfo() {
	}

	/** minimal constructor */
	public AbstractLeaseorsaleinfo(Estatebasicinfo estatebasicinfo,
			Integer maxScheduleAmount, Float minPrice, String unit,
			String publicDescribe, String statue, Date publishTime) {
		this.estatebasicinfo = estatebasicinfo;
		this.maxScheduleAmount = maxScheduleAmount;
		this.minPrice = minPrice;
		this.unit = unit;
		this.publicDescribe = publicDescribe;
		this.statue = statue;
		this.publishTime = publishTime;
	}

	/** full constructor */
	public AbstractLeaseorsaleinfo(Estatebasicinfo estatebasicinfo,
			Integer maxScheduleAmount, Float minPrice, String unit,
			String publicDescribe, String statue, Date publishTime,
			Set estatescheduals) {
		this.estatebasicinfo = estatebasicinfo;
		this.maxScheduleAmount = maxScheduleAmount;
		this.minPrice = minPrice;
		this.unit = unit;
		this.publicDescribe = publicDescribe;
		this.statue = statue;
		this.publishTime = publishTime;
		this.estatescheduals = estatescheduals;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Estatebasicinfo getEstatebasicinfo() {
		return this.estatebasicinfo;
	}

	public void setEstatebasicinfo(Estatebasicinfo estatebasicinfo) {
		this.estatebasicinfo = estatebasicinfo;
	}

	public Integer getMaxScheduleAmount() {
		return this.maxScheduleAmount;
	}

	public void setMaxScheduleAmount(Integer maxScheduleAmount) {
		this.maxScheduleAmount = maxScheduleAmount;
	}

	public Float getMinPrice() {
		return this.minPrice;
	}

	public void setMinPrice(Float minPrice) {
		this.minPrice = minPrice;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getPublicDescribe() {
		return this.publicDescribe;
	}

	public void setPublicDescribe(String publicDescribe) {
		this.publicDescribe = publicDescribe;
	}

	public String getStatue() {
		return this.statue;
	}

	public void setStatue(String statue) {
		this.statue = statue;
	}

	public Date getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Set getEstatescheduals() {
		return this.estatescheduals;
	}

	public void setEstatescheduals(Set estatescheduals) {
		this.estatescheduals = estatescheduals;
	}

}